/**
 * Created by Sky on 2016/7/14.
 */
/* @ngInject */
module.exports = function($rootScope){
    this.is_weixn=function is_weixn(){
        var ua = navigator.userAgent.toLowerCase();
        return true;
       /* if(ua.match(/MicroMessenger/i)=="micromessenger") {
            return true;
        } else {
            return false;
        }*/
    };
    this.closeLoading = function () {
        $('html,body').removeClass('ovfHiden');
    };
    this.openLoading = function () {
        $('html,body').addClass('ovfHiden');
    };
    return this;
};
